package kr.hkit.powerjava.homework;

public class PlaneTest {
	
	public static void main(String[] args) {
		Plane p1= new Plane(null, null, 0);
		int n1 = p1.getPlanes();
		Plane p2= new Plane(null, null, n1);
		int n2 = p2.getPlanes();
		Plane p3= new Plane(null, null, n2);
		
		p1.getPlanes();
		
		p1.get모델();
		p1.set모델("A380");
		
		p2.get제작사();
		p2.set제작사("에어부산");
		
		p3.get최대승객수();
		p3.set최대승객수(500);
		
	System.out.printf("%s\n",p1);
	System.out.printf("%s,생성자수%d\n",p2,n1);
	System.out.printf("%s,생성자수%d\n",p3,n2);
	}
}
